package com.sc.dao;

import java.util.List;

import org.beetl.sql.core.annotatoin.Sql;
import org.beetl.sql.core.mapper.BaseMapper;

import com.sc.model.Product;

public interface ProductDao extends  BaseMapper<Product>{
	@Sql(value = "select * from product limit 0,5;")
	List<Product> getProducts();
	@Sql(value = "select * from product;")
	List<Product> getAllProduct();
}
